[INFO] cloning repository https://github.com/labormedia/functional_rust_tests
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/labormedia/functional_rust_tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flabormedia%2Ffunctional_rust_tests", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flabormedia%2Ffunctional_rust_tests'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 07487f317f1a8dcf51c623296c31f91b9f978e84
[INFO] checking labormedia/functional_rust_tests against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flabormedia%2Ffunctional_rust_tests" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/labormedia/functional_rust_tests on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/labormedia/functional_rust_tests
[INFO] finished tweaking git repo https://github.com/labormedia/functional_rust_tests
[INFO] tweaked toml for git repo https://github.com/labormedia/functional_rust_tests written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/labormedia/functional_rust_tests already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e564f7630bd7efa7c6b371b469d24f27cc3cd1f605076f34c353f816101c3c9f
[INFO] running `Command { std: "docker" "start" "-a" "e564f7630bd7efa7c6b371b469d24f27cc3cd1f605076f34c353f816101c3c9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e564f7630bd7efa7c6b371b469d24f27cc3cd1f605076f34c353f816101c3c9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e564f7630bd7efa7c6b371b469d24f27cc3cd1f605076f34c353f816101c3c9f", kill_on_drop: false }`
[INFO] [stdout] e564f7630bd7efa7c6b371b469d24f27cc3cd1f605076f34c353f816101c3c9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb972324fb7b81b5592cf4a38482848533e6e4c4e1d842ff3708035b75dd3580
[INFO] running `Command { std: "docker" "start" "-a" "cb972324fb7b81b5592cf4a38482848533e6e4c4e1d842ff3708035b75dd3580", kill_on_drop: false }`
[INFO] [stderr]     Checking functional_tests v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `my_string` and `my_uint32` are never read
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct MyStruct {
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 3 |     my_string: String,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 4 |     my_uint32: u32
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MyStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `my_associated_function` is never used
[INFO] [stdout]  --> src/main.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn my_associated_function(&mut self, my_string: &str, my_uint32: u32) -> &Self {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `bind` is never used
[INFO] [stdout]   --> src/main.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn bind(&mut self, my_function: fn(&mut MyStruct) -> &Self) -> &Self {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `curry` is never used
[INFO] [stdout]   --> src/main.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn curry(&'static mut self, my_function: fn(&mut MyStruct) -> &Self, my_struct: &mut MyStruct) -> impl FnOnce() -> &'static MyStruct {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `an_instance`
[INFO] [stdout]   --> src/main.rs:71:44
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let an_instance= MyStruct {
[INFO] [stdout]    |             ----------- move occurs because `an_instance` has type `MyStruct`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 43 |         let my_new_instance = Box::new(an_instance);
[INFO] [stdout]    |                                        ----------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 71 |         let some_other_instance = Box::new(an_instance);
[INFO] [stdout]    |                                            ^^^^^^^^^^^ value used here after move
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `functional_tests` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "cb972324fb7b81b5592cf4a38482848533e6e4c4e1d842ff3708035b75dd3580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb972324fb7b81b5592cf4a38482848533e6e4c4e1d842ff3708035b75dd3580", kill_on_drop: false }`
[INFO] [stdout] cb972324fb7b81b5592cf4a38482848533e6e4c4e1d842ff3708035b75dd3580
